package mypackage;

import javax.microedition.location.Location;
import javax.microedition.location.LocationListener;
import javax.microedition.location.LocationProvider;


public class Gps implements LocationListener{
	
	public static String TAG = "Gps";
	
	//public Telephone TelData;
	
	private double Latitud;
	private double Longitud;
	private float Velocidad;
	private double Altitud;
	
	 public double GetLatitud()
	 {
		 return Latitud;
	 }
	 public double GetLongitud()
	 {
		 return Longitud;
	 }
	 public double GetAltitud()
	 {
		 return Altitud;
	 }
	 public float GetVelocidad()
	 {
		 return Velocidad;
	 }
	


	public void onProviderDisabled(String provider) 
	{
		
		
	}

	public void onProviderEnabled(String provider)
	{
	
		
	}
	public void locationUpdated(LocationProvider provider, Location location) {
		// TODO Auto-generated method stub
		
	}
	public void providerStateChanged(LocationProvider provider, int newState) {
		// TODO Auto-generated method stub
		
	}


}
